<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>{$title}</title>
    <link type="text/css" rel="stylesheet" href="{$url_front}/statics/css/monkey.css"/>
    <link type="text/css" rel="stylesheet" href="{$url_front}/statics/css/frame.css"/>
    <script type="text/javascript" src="{$url_front}/statics/js/jquery.min.js"></script>
    <script type="text/javascript" src="{$url_front}/statics/js/monkey.js"></script>
    <!--pagination-->
    <script type="text/javascript" src="{$url_front}/statics/js/jquery.myPagination.js"></script>
    <script type="text/javascript">

    </script>
</head>

<body>
<!--page_header-->
<div class="page_header">
    <h3 style="display: inline">{$title}</h3>
    <a href="{$url_add}" target="_self" class="u_button u_button_blue u_button_small f_right" style="margin-top: 8px;">添加商品</a>
</div>
<!--/page_header-->

<!--page_main-->
<div class="page_main">
    <!--table-->
    <table class="u_table">
        <thead>
        <tr>
            <th style="width: 60px;">商品id</th>
            <th style="width: 80px;">品种</th>
            <th>名称</th>
            <th style="width: 80px;">价格(元)</th>
            <th>唯一标识</th>
            <th style="width: 80px;">顶置标识</th>
            <th style="width: 80px;">添加时间</th>
            <th style="width: 80px;">点击量</th>
            <th style="width: 100px;">操作</th>
        </tr>
        </thead>
        <tbody>
        <!--//`'g_id', 'captain', 'price', 'g_name', 'top_sort', 'add_time', 'click'-->
        <!--foreach/$goods $item-->
        <tr>
            <td>{$item.g_id}</td>
            <td>{$item.gc_caption}</td>
            <td>{$item.captain}</td>
            <td>{$item.price}</td>
            <td>{$item.g_name}</td>
            <td>{$item.top_sort}</td>
            <td>{f:date('Y-m-d', $item.add_time)}</td>
            <td>{$item.click}</td>
            <td>
                <a href="{$url_browse}/{$item.g_id}" target="_blank" class="tablelink iconfont" title="预览">&#xf0ac;</a>
                <span style="margin-left: 15px;"> </span>
                <a href="{$url_edit}/{$item.g_id}" target="_self" class="tablelink iconfont" title="编辑">&#xf044;</a>
                <span style="margin-left: 15px;"> </span>
                <a href="{$url_delete}/{$item.g_id}" target="_self" class="tablelink iconfont" title="删除">&#xf014;</a>
            </td>
        </tr>
        <!--/-->
        </tbody>
    </table>
    <!--/table-->
    <div class="pager f_right">
        {$page_box}
    </div>

</div>
<br/><br/>
<!--/page_main-->
</body>
</html>